/**
  * @title: 用户信息数据
  * @description: 
  * @author JUN
  */
 
export default {
	namespaced:true,
	state:{
		userInfo: uni.getStorageSync("userInfo") || ""
	},
	mutations:{
		["UPDATE_USER_INFO"](state,userInfo){//更新数据
			state.userInfo = userInfo
			uni.setStorageSync("userInfo",state.userInfo)
		}
	}
}